package com.hngy.xpq.android_practice.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class MerchantOrder {
    public static final String DATABASE_DATA = "db_xpq_merchant";
    public static final String DATABASE_TABLE = "xpq_merchant";
    public static final int DATABASE_INS = 1;

    public static final String NOTEPAD_ID = "merchant_xpq_id";          //商家id
    public static final String NOTEPAD_NAME = "merchant_xpq_name";      //商家名
    public static final String NOTEPAD_KEY = "merchant_xpq_key";        //商家密码
    public static final String NOTEPAD_PHONE = "merchant_xpq_phone";    //商家手机号码
    public static final String NOTEPAD_TIME = "merchant_xpq_time";      //商家注册日期
    public static final String NOTEPAD_ADD = "merchant_xpq_add";        //商家地址
    public static final String NOTEPAD_DES = "merchant_xpq_des";        //商家描述

    public static final String getTimeDate(){
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
        Date date = new Date(System.currentTimeMillis());
        return simpleDateFormat.format(date);
    };
}
